package it.unibo.mycruise.boat.test.unit;

import it.unibo.convoycruisecontrol.boatsubsystem.AbstractCommandBoat;
import it.unibo.convoycruisecontrol.boatsubsystem.IBoatFactory;
import it.unibo.convoycruisecontrol.boatsubsystem.test.unit.CommandBoatTestCase;
import it.unibo.java.location.JavaLocationDevice;
import it.unibo.mycruise.boat.BoatFactory;

public class MyCruiseCommandBoatTestCase extends CommandBoatTestCase {

	@Override
	public AbstractCommandBoat createConcreteCommandBoat() 
	{
		IBoatFactory boatFactory = new BoatFactory();
		return boatFactory.createBoat(new JavaLocationDevice(), 1);
	}

	@Override
	public int getLocationDeviceRefreshInterval() {
		return 1000;
	}


}
